package com.hex.es.entity;

import com.hex.es.bulk.EsOperationEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Map;

/**
 * es信息操作实例
 *
 * @author hex
 * @date 2019/11/01
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class EsInfoDomain implements Serializable {

    private String index;

    private String type;

    private String id;

    private Map<String,Object> dataMap;

    private EsOperationEnum operationEnum;
}
